{{ $title       := cond .IsHome site.Title .Title }}
{{ $type        := cond .IsHome "website" "article" }}
{{ $url         := .Permalink }}
{{ $img         := "https://raw.githubusercontent.com/cncf/artwork/master/projects/etcd/horizontal/color/etcd-horizontal-color.png" }}
{{ $description := .Param "description" }}
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1,maximum-scale=1,width=device-width,user-scalable=no" />

<!-- OpenGraph metadata -->
<meta property="og:title" content="{{ $title }}">
<meta property="og:type" content="{{ $type }}">
<meta property="og:url" content="{{ $url }}">
<meta property="og:image" content="{{ $img }}">
<meta property="og:image:alt" content="etcd project logo">
<meta property="og:image:type" content="image/png">
{{ with $description }}
<meta property="og:description" content="{{ . }}">
{{ end }}
<meta property="og:locale" content="en_US">

<!-- Hugo shout-out -->
{{ hugo.Generator }}
